SwiftUI: Call a function of a programmatically created view

visit shbcf.ru